package com.bw.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import  com.bw.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 飓风微尘
 * @since 2022-05-01
 */
public interface IUserService extends IService<User> {

    Page<User>  listWithRole(int currentPage, int pageSize, String name);

    void add(User user);

    void updateWithRole(User user);

    void del(Integer uid);
}
